home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 101-125 / disk_108 / printpop / programmers_notes (.png) < prev    next >
ANSI Art File  |  1992-05-06  |  4KB  |  640x1104  |  4-bit (3 colors)
Labels: text | screenshot | font
OCR: *********** NOTES FOR PROGRAMMERS (IN NO PARTICULAR ORDER) *********** (1) Printer commands are sent to the printer as the appropriate escape command strings using the PrintString routine detailed in the RKM. Sending commands to the printer using the PrintCommand routine in the same source gives strange results: Where a printer command requires a "wait" action as defined in the various printer drivers, the printer. device sends out the "wait" character (usually $FD) INSTEAD of doing the appropriate wait. Example: Suppose that the "set margins" command is defined in the printer driver "data.c" file as "\xfd\x1b1L\x1bQq\xfd" (this is actually the printer is: default Epson setting), then the sequence that should be sent to the \xfd "wait" \x1b1L set left margin to 76 (don't ask me why 76!) \1 ...